/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 2/15/2011                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define Vw_aspnet_RolesResult object. This object used to contain data that returned from data layer.
    /// </summary>
    public class Vw_aspnet_RolesResult
    {
        #region fields
        private Guid applicationId;
        private Guid roleId;
        private string roleName;
        private string loweredRoleName;
        private string description;
        private string menuFile;
        private int level;
        #endregion fields

        #region properties
        /// <summary>
        /// Define ApplicationId Property.
        /// </summary>
        public Guid ApplicationId
        {
            get { return this.applicationId; }
            set { this.applicationId = value; }
        }
        /// <summary>
        /// Define RoleId Property.
        /// </summary>
        public Guid RoleId
        {
            get { return this.roleId; }
            set { this.roleId = value; }
        }
        /// <summary>
        /// Define RoleName Property.
        /// </summary>
        public string RoleName
        {
            get { return this.roleName; }
            set { this.roleName = value; }
        }
        /// <summary>
        /// Define LoweredRoleName Property.
        /// </summary>
        public string LoweredRoleName
        {
            get { return this.loweredRoleName; }
            set { this.loweredRoleName = value; }
        }
        /// <summary>
        /// Define Description Property.
        /// </summary>
        public string Description
        {
            get { return this.description; }
            set { this.description = value; }
        }
        public string MenuFile
        {
            get { return this.menuFile; }
            set { this.menuFile = value; }
        }
        public int Level
        {
            get { return this.level; }
            set { this.level = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for Vw_aspnet_RolesResultResult Object.
        /// </summary>
        public Vw_aspnet_RolesResult()
        {
            this.applicationId = Guid.Empty;
            this.roleId = Guid.Empty;
            this.roleName = string.Empty;
            this.loweredRoleName = string.Empty;
            this.description = string.Empty;
        }
        /// <summary>
        /// Define constructor for Vw_aspnet_RolesResultResult Object.
        /// </summary>
        public Vw_aspnet_RolesResult(Guid applicationId,
                    Guid roleId,
                    string roleName,
                    string loweredRoleName,
                    string description)
        {
            this.applicationId = applicationId;
            this.roleId = roleId;
            this.roleName = roleName;
            this.loweredRoleName = loweredRoleName;
            this.description = description;
        }
        #endregion constructor
    }
}